

<div class="container">
    <?php
    $profile = $member->profile();
    ?>
    <?php include 'member-left.php'; ?>

    <div class="member_c">

        <div class="title_mb_bg2">

            <ul>
                <li>
                    <div>
                         <span class="avatar" id="spanAvatar">
                            <img id="avatar" src="<?php echo $profile['profile']['avatar']; ?>" width="180" />
                            <div id="imagesGNURWE" class="uploadifyQueueItem completed" style="background-image: url(http://abc.net/uploads/images/2/2011/09/thumb-130-100/894-1316936070.jpg); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: initial initial; background-repeat: initial initial; "><div class="cancel"><a href="javascript:jQuery('#images').uploadifyCancel('GNURWE')"><img src="/js/uploadify/delete.png" border="0"></a></div><span class="fileName">Photo-0466.jpg (725.79KB)</span><span class="percentage"> - Completed</span></div>
                        </span>
                        <span style="float: left;margin-left: 20px;">
                            <input type="hidden" id="mid" value="<?php echo $_SESSION['client']['id']; ?>"/>
                            <input type="file" id="avatarUpload" /><br>
                            <p class="explain">Vui lòng chọn ảnh định dạng *.jpg, <br>*.jpeg, *.gif hoặc *.png (tối đa 5 MB).</p>
                            <p style="margin-top: 10px;padding-left:5px"><a title="Chỉnh sửa ảnh đại diện" style="" id="editavatar" href="javascript:createAvatarWindow('<?php echo $_GET['mid']; ?>');">Chỉnh sửa ảnh</a></p>
                        </span>
                    </div>
                </li>
              
            </ul>
        </div>



    </div>

</div>

<script src="/js/avatar.js" type="text/javascript"></script>